import sys
from configparser import Error
from typing import List

# from exceptiongroup import catch

def splitStr():
    file = "abc"
    cmd = "ls " + "-l " + file
    file_name = "stepfun-ai/GOT-OCR2_0"
    split_by_path = file_name.split("/")
    print(split_by_path)
    print(split_by_path[-1])
    print(cmd)

def query_pkg_list() -> List[int]:
    rst = [1,2,3]
    return rst

if __name__ == '__main__':
    try:
        rst = query_pkg_list()
        print(rst)
    except Exception as e:
        print(e)
#         sys.exit(1)
    pass